package com.zx.mes.hyl.common.pagemodel;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by hyl on 17/11/18.
 */
public class Menu implements Serializable {

    /* 菜单名称 */
    private String title;

    /* 菜单图标 */
    private String icon;

    /* 菜单url */
    private String href;

    /* 菜单是否展开 */
    private boolean spread;

    /* 子菜单 */
    private List<Menu> children=new ArrayList<Menu>();

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public boolean isSpread() {
        return spread;
    }

    public void setSpread(boolean spread) {
        this.spread = spread;
    }

    public List<Menu> getChildren() {
        return children;
    }

    public void setChildren(List<Menu> children) {
        this.children = children;
    }
}
